<div id="pager1" class="pager1">
    <table id="background-image" class="barang"> 
                    <thead> 
                        <tr> 
                        <th>Pilih</th>
                            <th>Produsen</th>
                            <th>Type</th>
                            <th>Model</th>
                            <th>Jenis Mobil</th>
                            <th>Daya</th>
                            <th>Nomor Plat</th>
                            <th>Transmisi</th> 
                            <th>Warna</th>
                            <th>Tarif</th>
                            
                        </tr> 
                    </thead> 
                    <tbody> 
                        <?php $i=1;
						foreach ($car as $car1){?>                        
                        <tr>
                        	<td><a href="#" id="addScnt" data-identity='<?php echo $i;?>'>Add</a></td>
                        	<td><?php echo $car1->produsen;?></td> 
                        	<td><?php echo $car1->type;?></td> 
                        	<td><?php echo $car1->model;?></td> 
                            <td><?php echo $car1->car_name;?></td>
                        	<td><?php echo $car1->daya;?></td> 
                            <td><?php echo $car1->car_license;?></td> 
                            <td><?php echo $car1->transmisi;?></td> 
                            <td width="13%"><?php echo $car1->warna;?></td> 
                            <td>
                            	
								<select id="pilihtarif<?php echo $i;?>" name="pilihtarif<?php echo $i;?>">
                                	<?php
                                    	 $hargabrg   =   explode(',',$car1->price);
										 $code   =   explode(',',$car1->kode);
										 $desc   =   explode(',',$car1->keterangan);
										 $x=0;
										 foreach($code as $code)
										 {?>
                                         	<?php $harga1brg = number_format($harga1brg, 0, '.', ',');?>
											<option value="<?php echo $code;?>"><?php echo $desc[$x] . ": ";echo $hargabrg[$x];?></option>
                                            <?php  $x++;
										 }
									?>
                                	
                                </select>
							</td>
                            <div id="a<?php echo $i;?>" style="display:none"><?php echo $car1->tarif;?></div> 
                            <div id="kode<?php echo $i;?>" style="display:none"><?php echo $car1->nic;?></div>
                            <div id="desc<?php echo $i;?>" style="display:none"><?php echo $car1->produsen;?> <?php echo $car1->model;?> : <?php echo $car1->car_license;?></div>                                      
                        </tr> 
                        <?php $i++;} ?>
                       
                   </tbody> 
                    
				</table> 
                    <form>
                        <img src="<?php echo base_url();?>img/first.png" class="first" title="back to first"/>
                        <img src="<?php echo base_url();?>img/prev.png" class="prev" title="previous"/>
                        <input type="text" class="pagedisplay"/>
                        <img src="<?php echo base_url();?>img/next.png" class="next" title="next"/>
                        <img src="<?php echo base_url();?>img/last.png" class="last" title="go to last"/>
                       
                        <select class="pagesize">
                            <option selected="selected"  value="10">10</option>
                            <option value="15">15</option>
                            
                        </select>
                     
                    </form>
           
</div>